-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.9.4 (latest)
-
Code
-
Classes
- UserItemModel
| Total Complexity |
68 |
| Dependencies |
12 |
| Dependents |
12 |
| Total lines |
565 |
| Lines of code |
249 |
| Logical lines of code |
163 |
| Comment lines |
231 |
| Methods |
21 |
| Properties |
13 |
Methods 21
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| save() |
A |
48 |
10 |
34 |
| get_string_i18n() |
A |
52 |
8 |
26 |
| find_user_item() |
S |
50 |
7 |
30 |
| get_meta_value_from_key() |
S |
56 |
6 |
20 |
| set_meta_value_for_key() |
S |
58 |
5 |
15 |
| get_user_item_model_from_db() |
S |
55 |
4 |
20 |
| get_expiration_time() |
S |
58 |
4 |
15 |
| __construct() |
S |
66 |
3 |
9 |
| map_to_object() |
S |
67 |
3 |
8 |
| get_total_timestamp_completed() |
S |
65 |
3 |
9 |
| get_start_time() |
S |
79 |
2 |
3 |
| get_end_time() |
S |
79 |
2 |
3 |
| get_graduation() |
S |
79 |
2 |
3 |
| delete_meta() |
S |
67 |
2 |
8 |
| delete() |
S |
59 |
1 |
14 |
| clean_caches() |
S |
60 |
1 |
14 |
| get_status() |
S |
82 |
1 |
3 |
| get_user_item_id() |
S |
82 |
1 |
3 |
| set_user_item_id() |
S |
81 |
1 |
3 |
| get_user_model() |
S |
79 |
1 |
3 |
| get_meta_model_from_key() |
S |
71 |
1 |
6 |